Skip to content

Conversation

@cesarParra
Copy link
Owner

@cesarParra cesarParra commented Jun 26, 2025

Add Support for Multiple Source Directories and SFDX Project Integration

Overview

Introduces support for reading source files from multiple directories or the sfdx-project.json file.

New Features

1. **The --sourceDir flag can now be an array of directories.

2. SFDX Project Integration (--useSfdxProjectJson)

  • Automatic directory detection from sfdx-project.json configuration
  • Reads all packageDirectories defined in the project configuration
  • Supports custom project paths with --sfdxProjectPath
# Automatically read directories from sfdx-project.json
apexdocs markdown --useSfdxProjectJson --targetDir ./docs

# Use sfdx-project.json from a different location
apexdocs markdown --useSfdxProjectJson --sfdxProjectPath ./my-project --targetDir ./docs

@cesarParra cesarParra marked this pull request as ready for review June 27, 2025 10:15
@cesarParra cesarParra changed the title Sfdx json as source Add Support for Multiple Source Directories and SFDX Project Integration Jun 27, 2025
@cesarParra cesarParra linked an issue Jun 27, 2025 that may be closed by this pull request
@cesarParra cesarParra merged commit aee7fb4 into master Jun 27, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Idea for new feature. Read directories from sfdx-project.json

2 participants